<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>流程定义列表</title>
</head>
<body>
	<table width="100%">
	  	    <tr><td colspan="5">流程定义</td></tr>
			<tr>
				<th width="20%">流程定义编号</th>
				<th width="20%">名称</th>
				<th width="10%">版本</th>
				<th>描述</th>
				<th width="20%">操作</th>
			</tr>
			<s:iterator id="process" value="process" status="index">
			<tr>
				<td><s:property value="#process.id"/></td>
				<td><s:property value="#process.name"/></td>
				<td><s:property value="#process.version"/></td>
				<td><s:property value="#process.description"/></td>
				<td>
					<s:url id="listProcessIst" action="listProcessIst" includeParams="none">
						<s:param name="pdId"><s:property value="#process.id"/></s:param>
					</s:url>
					<s:url id="deleteProcess" action="deleteProcess" includeParams="none">
						<s:param name="pdId"><s:property value="#process.id"/></s:param>
					</s:url>
					<s:url id="loadJpdl" action="loadJpdl" includeParams="none">
						<s:param name="pdId"><s:property value="#process.id"/></s:param>
					</s:url>
					<s:a href="%{#listProcessIst}">查看实例</s:a><oa:authentication action="stProcess/deleteProcess.action"> | <s:a href="%{#deleteProcess}">删除</s:a></oa:authentication> | <s:a href="%{#loadJpdl}" target="_blank">流程图</s:a>
				</td>
			</tr>
			</s:iterator>
		</table>
</body>
</html>